package com.security.messageDigest;

import org.junit.Test;

import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;

/**
 * @author away
 * @mail 852438143@qq.com
 * @date 2018/8/2 0:04
 */
public class MessageDigestDemo {

    @Test
    public  void test01() throws NoSuchAlgorithmException {
        MessageDigest md = MessageDigest.getInstance("SHA-256");
        System.out.println(md);
    }
}
